package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsAdmin;

import java.util.List;
import java.util.Map;

public interface AdminService {

    public List<DtsAdmin> findAdmin(String username);

        public IPage<DtsAdmin> findByPage(Integer page, Integer limit, String username, String sort, String  order);


    DtsAdmin insert(DtsAdmin admin);

    int delete(DtsAdmin admin);

    DtsAdmin update(DtsAdmin admin);


    List<DtsAdmin> findAdminlist();
}
